# import  json
# # data = {
# #     {
# #       "name": "张三",
# #       "age": 30,
# #       "isStudent": False,
# #       "courses": ["Python", "数据分析", "机器学习"],
# #       "address": {
# #         "city": "北京",
# #         "postcode": "100000"
# #       },
# #       "phoneNumbers": None,
# #       # "tags":{1, 2, 3, 4, 5}
# #     }
# # }
# import datetime
# data = {
#     "name":"张三",
#     "create_at": datetime.datetime.now(),
#     "tags": {1, 2, 3, 4, 5}
# }
# def custom_ss(obj):
#     if isinstance(obj, set):
#         return {
#             "__set__":True,
#             "value":list(obj)
#         }
#     if isinstance(obj, datetime):
#         return {
#             "__datetime__": True,
#             "value":obj.
#         }
# json_str = json.dumps(data, default=custome_ss)
# print(json_str)
import json
json_str = """
{
    "company": "ABC科技",
    "employees": [
        {
            "id": 1001,
            "name": "张三",
            "department": "研发",
            "skills": ["Python", "Django", "Docker"]
        },
        {
            "id": 1002,
            "name": "李四",
            "department": "数据",
            "skills": ["Python", "数据分析", "机器学习"]
        }
    ],
    "address": {
        "city": "北京",
        "street": "中关村",
        "postcode": "100080"
    }
}
"""
# data = json.loads(json_str)


import json
from jsonpath_ng import parse

json_str = """
{
  "store": {
    "book": [
      {
        "category": "参考书",
        "author": "李明",
        "title": "Python编程入门",
        "price": 49.99
      },
      {
        "category": "小说",
        "author": "王芳",
        "title": "梦想之旅",
        "price": 29.99,
        "isbn": "0-553-21311-3"
      }
    ],
    "bicycle": {
      "color": "红色",
      "price": 599.99
    }
  }
}
"""
data = json